package com.qk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.dto.BusinessDto;
import com.qk.entity.Business;
import com.qk.vo.OverviewVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BusinessMapper extends BaseMapper<Business> {


    Page<Business> lists(Page<Business> page, BusinessDto businessDto);

    Business getBusinessById(Integer id);

    OverviewVo getBusinessOverview();

    Page<Business> poolList(Page<Business> page, BusinessDto businessDto);
}
